<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>canvas-nest.jsdemo</title>
    <style>
        canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
    </style>
</head>
<body>

    <canvas></canvas>

    <script type="text/javascript" src="../dist/canvas-nest-class.js"></script>
    <script type="text/javascript">
        new CanvasNest({
          el: document.querySelector('canvas'),
          opacity: 0.1,
          color: '0,0,0',
          count: 99,
          zIndex: -1
        });
    </script>
</body>
</html>